package com.xkh.common.controller.initialize;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * @author xkh
 * @date 2020/11/9 16:05
 */
@Component
@Slf4j
public class InitializationController implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) {
        log.info("初始化---------------------成功");
    }
}
